home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: Mailbox/MIME Entity
(archive/mbox).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| Newsgroup Content (archive/news)
| magic
| Supported |
100%
| dexvert
| Mailbox/MIME Entity (archive/mbox)
| magic
| Supported |
100%
| dexvert
| Internet Message Format (text/imf)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| news, ASCII text
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| dexmagic
| PrintFox/Pagefox WEAK
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| fmt/950 MIME Email (1.0)
| default
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
| |
100%
| xdgMime
| message/news
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 50 61 74 68 3a 20 69 78 | 2e 6e 65 74 63 6f 6d 2e |Path: ix|.netcom.|
|00000010| 63 6f 6d 21 6e 65 74 6e | 65 77 73 0a 46 72 6f 6d |com!netn|ews.From|
|00000020| 3a 20 5a 61 63 68 61 72 | 79 20 43 61 72 74 65 72 |: Zachar|y Carter|
|00000030| 20 3c 7a 63 61 72 74 65 | 72 40 69 78 2e 6e 65 74 | <zcarte|r@ix.net|
|00000040| 63 6f 6d 2e 63 6f 6d 3e | 0a 4e 65 77 73 67 72 6f |com.com>|.Newsgro|
|00000050| 75 70 73 3a 20 63 6f 6d | 70 2e 6c 61 6e 67 2e 63 |ups: com|p.lang.c|
|00000060| 2b 2b 0a 53 75 62 6a 65 | 63 74 3a 20 52 65 3a 20 |++.Subje|ct: Re: |
|00000070| 75 73 69 6e 67 20 63 6f | 75 74 20 6c 69 6b 65 20 |using co|ut like |
|00000080| 70 72 69 6e 74 66 0a 44 | 61 74 65 3a 20 36 20 4d |printf.D|ate: 6 M|
|00000090| 61 72 20 31 39 39 36 20 | 30 33 3a 33 30 3a 32 33 |ar 1996 |03:30:23|
|000000a0| 20 47 4d 54 0a 4f 72 67 | 61 6e 69 7a 61 74 69 6f | GMT.Org|anizatio|
|000000b0| 6e 3a 20 4e 65 74 63 6f | 6d 0a 4d 65 73 73 61 67 |n: Netco|m.Messag|
|000000c0| 65 2d 49 44 3a 20 3c 34 | 68 6a 30 73 66 24 64 36 |e-ID: <4|hj0sf$d6|
|000000d0| 67 40 63 6c 6f 6e 65 72 | 34 2e 6e 65 74 63 6f 6d |g@cloner|4.netcom|
|000000e0| 2e 63 6f 6d 3e 0a 52 65 | 66 65 72 65 6e 63 65 73 |.com>.Re|ferences|
|000000f0| 3a 20 3c 44 6e 46 35 76 | 41 2e 47 41 44 40 61 63 |: <DnF5v|A.GAD@ac|
|00000100| 74 63 6f 6d 2e 63 6f 2e | 69 6c 3e 20 3c 34 68 67 |tcom.co.|il> <4hg|
|00000110| 62 35 6a 24 35 73 35 40 | 69 78 6e 65 77 73 33 2e |b5j$5s5@|ixnews3.|
|00000120| 69 78 2e 6e 65 74 63 6f | 6d 2e 63 6f 6d 3e 20 3c |ix.netco|m.com> <|
|00000130| 34 68 69 69 6b 33 24 63 | 31 68 40 6d 63 72 77 61 |4hiik3$c|1h@mcrwa|
|00000140| 72 65 2e 6d 69 63 72 6f | 77 61 72 65 2e 63 6f 6d |re.micro|ware.com|
|00000150| 3e 0a 4e 4e 54 50 2d 50 | 6f 73 74 69 6e 67 2d 48 |>.NNTP-P|osting-H|
|00000160| 6f 73 74 3a 20 61 75 73 | 2d 74 78 33 2d 31 35 2e |ost: aus|-tx3-15.|
|00000170| 69 78 2e 6e 65 74 63 6f | 6d 2e 63 6f 6d 0a 4d 69 |ix.netco|m.com.Mi|
|00000180| 6d 65 2d 56 65 72 73 69 | 6f 6e 3a 20 31 2e 30 0a |me-Versi|on: 1.0.|
|00000190| 43 6f 6e 74 65 6e 74 2d | 54 79 70 65 3a 20 74 65 |Content-|Type: te|
|000001a0| 78 74 2f 70 6c 61 69 6e | 3b 20 63 68 61 72 73 65 |xt/plain|; charse|
|000001b0| 74 3d 75 73 2d 61 73 63 | 69 69 0a 43 6f 6e 74 65 |t=us-asc|ii.Conte|
|000001c0| 6e 74 2d 54 72 61 6e 73 | 66 65 72 2d 45 6e 63 6f |nt-Trans|fer-Enco|
|000001d0| 64 69 6e 67 3a 20 37 62 | 69 74 0a 58 2d 4e 45 54 |ding: 7b|it.X-NET|
|000001e0| 43 4f 4d 2d 44 61 74 65 | 3a 20 54 75 65 20 4d 61 |COM-Date|: Tue Ma|
|000001f0| 72 20 30 35 20 20 37 3a | 33 30 3a 32 34 20 50 4d |r 05 7:|30:24 PM|
|00000200| 20 50 53 54 20 31 39 39 | 36 0a 58 2d 4d 61 69 6c | PST 199|6.X-Mail|
|00000210| 65 72 3a 20 4d 6f 7a 69 | 6c 6c 61 20 31 2e 32 32 |er: Mozi|lla 1.22|
|00000220| 20 28 57 69 6e 64 6f 77 | 73 3b 20 55 3b 20 31 36 | (Window|s; U; 16|
|00000230| 62 69 74 29 0a 54 6f 3a | 20 6a 65 6a 6f 6e 65 73 |bit).To:| jejones|
|00000240| 40 6d 69 63 72 6f 77 61 | 72 65 2e 63 6f 6d 0a 0a |@microwa|re.com..|
|00000250| 6a 65 6a 6f 6e 65 73 40 | 6d 69 63 72 6f 77 61 72 |jejones@|microwar|
|00000260| 65 2e 63 6f 6d 20 28 4a | 61 6d 65 73 20 4a 6f 6e |e.com (J|ames Jon|
|00000270| 65 73 29 20 77 72 6f 74 | 65 3a 0a 3e 49 6e 20 61 |es) wrot|e:.>In a|
|00000280| 72 74 69 63 6c 65 20 3c | 34 68 67 62 35 6a 24 35 |rticle <|4hgb5j$5|
|00000290| 73 35 40 69 78 6e 65 77 | 73 33 2e 69 78 2e 6e 65 |s5@ixnew|s3.ix.ne|
|000002a0| 74 63 6f 6d 2e 63 6f 6d | 3e 20 5a 61 63 68 61 72 |tcom.com|> Zachar|
|000002b0| 79 20 43 61 72 74 65 72 | 20 3c 7a 63 61 72 74 65 |y Carter| <zcarte|
|000002c0| 72 40 69 78 2e 6e 65 74 | 63 6f 6d 2e 63 6f 6d 3e |r@ix.net|com.com>|
|000002d0| 20 77 72 69 74 65 73 3a | 0a 3e 3e 20 20 20 20 20 | writes:|.>> |
|000002e0| 59 65 73 2c 20 79 6f 75 | 20 68 61 76 65 20 74 6f |Yes, you| have to|
|000002f0| 20 70 75 74 20 6d 61 6e | 69 70 75 6c 61 74 6f 72 | put man|ipulator|
|00000300| 73 20 6f 6e 20 74 68 65 | 20 73 74 72 65 61 6d 20 |s on the| stream |
|00000310| 27 61 68 65 61 64 27 20 | 6f 66 20 74 68 65 0a 3e |'ahead' |of the.>|
|00000320| 3e 74 68 69 6e 67 20 77 | 68 69 63 68 20 79 6f 75 |>thing w|hich you|
|00000330| 20 77 61 6e 74 20 74 6f | 20 66 6f 72 6d 61 74 2e | want to| format.|
|00000340| 20 20 4c 6f 6f 6b 20 75 | 70 20 27 6d 61 6e 69 70 | Look u|p 'manip|
|00000350| 75 6c 61 74 6f 72 73 27 | 20 69 6e 20 74 68 65 20 |ulators'| in the |
|00000360| 43 2b 2b 0a 3e 3e 62 6f | 6f 6b 20 6f 66 20 79 6f |C++.>>bo|ok of yo|
|00000370| 75 72 20 66 61 6e 63 79 | 2e 20 20 48 6f 70 65 20 |ur fancy|. Hope |
|00000380| 74 68 61 74 20 68 65 6c | 70 73 2e 2e 2e 20 3a 20 |that hel|ps... : |
|00000390| 29 0a 3e 0a 3e 49 20 75 | 6e 64 65 72 73 74 61 6e |).>.>I u|nderstan|
|000003a0| 64 20 74 68 61 74 20 61 | 73 69 64 65 20 66 72 6f |d that a|side fro|
|000003b0| 6d 20 73 65 74 77 28 29 | 2c 20 74 68 6f 73 65 20 |m setw()|, those |
|000003c0| 6d 61 6e 69 70 75 6c 61 | 74 69 6f 6e 73 20 6f 66 |manipula|tions of|
|000003d0| 20 73 74 72 65 61 6d 20 | 62 65 68 61 76 69 6f 72 | stream |behavior|
|000003e0| 0a 3e 68 6f 6c 64 20 75 | 6e 74 69 6c 20 74 68 65 |.>hold u|ntil the|
|000003f0| 20 6e 65 78 74 20 61 64 | 6a 75 73 74 6d 65 6e 74 | next ad|justment|
|00000400| 2e 20 20 49 73 20 74 68 | 65 72 65 20 73 6f 6d 65 |. Is th|ere some|
|00000410| 20 77 61 79 20 74 6f 20 | 63 61 75 73 65 20 74 68 | way to |cause th|
|00000420| 65 20 73 74 72 65 61 6d | 20 74 6f 0a 3e 72 65 74 |e stream| to.>ret|
|00000430| 75 72 6e 20 74 6f 20 77 | 68 61 74 65 76 65 72 20 |urn to w|hatever |
|00000440| 69 74 73 20 66 6f 72 6d | 65 72 20 73 74 61 74 65 |its form|er state|
|00000450| 20 77 61 73 20 28 77 68 | 69 63 68 20 6f 66 20 63 | was (wh|ich of c|
|00000460| 6f 75 72 73 65 20 69 73 | 6e 27 74 20 6e 65 63 65 |ourse is|n't nece|
|00000470| 73 73 61 72 69 6c 79 0a | 3e 74 68 65 20 64 65 66 |ssarily.|>the def|
|00000480| 61 75 6c 74 20 73 74 61 | 74 65 29 20 61 66 74 65 |ault sta|te) afte|
|00000490| 72 20 6f 75 74 70 75 74 | 69 6e 67 20 28 73 70 3f |r output|ing (sp?|
|000004a0| 29 20 73 6f 6d 65 74 68 | 69 6e 67 20 74 68 61 74 |) someth|ing that|
|000004b0| 20 79 6f 75 20 77 61 6e | 74 20 6f 75 74 70 75 74 | you wan|t output|
|000004c0| 20 69 6e 0a 3e 61 20 70 | 61 72 74 69 63 75 6c 61 | in.>a p|articula|
|000004d0| 72 20 77 61 79 3f 20 20 | 28 53 61 79 20 79 6f 75 |r way? |(Say you|
|000004e0| 20 68 61 76 65 20 63 6f | 6e 64 69 74 69 6f 6e 61 | have co|nditiona|
|000004f0| 6c 6c 79 20 63 6f 6d 70 | 69 6c 65 64 20 64 65 62 |lly comp|iled deb|
|00000500| 75 67 67 69 6e 67 20 6f | 75 74 70 75 74 0a 3e 74 |ugging o|utput.>t|
|00000510| 68 61 74 20 77 61 6e 74 | 73 20 74 6f 20 70 72 69 |hat want|s to pri|
|00000520| 6e 74 20 73 6f 6d 65 20 | 76 61 6c 75 65 20 69 6e |nt some |value in|
|00000530| 20 68 65 78 2e 29 0a 3e | 0a 3e 09 4a 61 6d 65 73 | hex.).>|.>.James|
|00000540| 20 4a 6f 6e 65 73 0a 3e | 0a 3e 4f 70 69 6e 69 6f | Jones.>|.>Opinio|
|00000550| 6e 73 20 68 65 72 65 69 | 6e 20 61 72 65 20 74 68 |ns herei|n are th|
|00000560| 6f 73 65 20 6f 66 20 74 | 68 65 20 61 75 74 68 6f |ose of t|he autho|
|00000570| 72 2c 20 61 6e 64 20 6e | 6f 74 20 6e 65 63 65 73 |r, and n|ot neces|
|00000580| 73 61 72 69 6c 79 20 74 | 68 6f 73 65 20 6f 66 20 |sarily t|hose of |
|00000590| 61 6e 79 0a 3e 6f 72 67 | 61 6e 69 7a 61 74 69 6f |any.>org|anizatio|
|000005a0| 6e 2e 0a 0a 20 20 20 20 | 20 54 68 65 20 6d 65 6d |n... | The mem|
|000005b0| 62 65 72 20 66 75 6e 63 | 74 69 6f 6e 20 6c 6f 6e |ber func|tion lon|
|000005c0| 67 20 66 6c 61 67 73 28 | 29 20 77 69 6c 6c 20 72 |g flags(|) will r|
|000005d0| 65 74 75 72 6e 20 74 68 | 65 20 63 75 72 72 65 6e |eturn th|e curren|
|000005e0| 74 20 73 65 74 74 69 6e | 67 20 6f 66 0a 61 6c 6c |t settin|g of.all|
|000005f0| 20 74 68 65 20 66 6f 72 | 6d 61 74 74 69 6e 67 20 | the for|matting |
|00000600| 66 6c 61 67 73 2c 20 61 | 6e 64 20 6c 6f 6e 67 20 |flags, a|nd long |
|00000610| 66 6c 61 67 73 28 6c 6f | 6e 67 29 20 73 65 74 73 |flags(lo|ng) sets|
|00000620| 20 74 68 65 20 66 6c 61 | 67 73 20 74 6f 20 0a 63 | the fla|gs to .c|
|00000630| 6f 72 72 65 73 70 6f 6e | 64 20 74 6f 20 74 68 65 |orrespon|d to the|
|00000640| 20 61 72 67 75 6d 65 6e | 74 20 28 20 66 6c 61 67 | argumen|t ( flag|
|00000650| 73 20 69 73 20 6f 76 65 | 72 6c 6f 61 64 65 64 20 |s is ove|rloaded |
|00000660| 29 20 20 20 53 6f 2c 20 | 49 20 74 68 69 6e 6b 0a |) So, |I think.|
|00000670| 0a 20 20 20 20 6c 6f 6e | 67 20 66 66 6c 61 67 73 |. lon|g fflags|
|00000680| 3b 0a 0a 20 20 20 20 66 | 66 6c 61 67 73 20 3d 20 |;.. f|flags = |
|00000690| 63 6f 75 74 2e 66 6c 61 | 67 73 28 29 3b 0a 20 20 |cout.fla|gs();. |
|000006a0| 20 20 63 6f 75 74 20 3c | 3c 20 20 2f 2a 20 6d 61 | cout <|< /* ma|
|000006b0| 6e 69 70 75 6c 61 74 6f | 72 73 20 61 6e 64 20 6f |nipulato|rs and o|
|000006c0| 75 74 70 75 74 20 64 61 | 74 61 20 68 65 72 65 20 |utput da|ta here |
|000006d0| 2a 2f 20 3b 0a 20 20 20 | 20 63 6f 75 74 2e 66 6c |*/ ;. | cout.fl|
|000006e0| 61 67 73 28 66 66 6c 61 | 67 73 29 3b 0a 0a 77 69 |ags(ffla|gs);..wi|
|000006f0| 6c 6c 20 64 6f 20 77 68 | 61 74 20 79 6f 75 20 77 |ll do wh|at you w|
|00000700| 61 6e 74 2e 20 20 42 54 | 57 2c 20 77 68 65 6e 20 |ant. BT|W, when |
|00000710| 79 6f 75 20 63 61 6c 6c | 20 63 61 6c 6c 20 66 6c |you call| call fl|
|00000720| 61 67 73 20 77 69 74 68 | 20 61 6e 20 61 72 67 75 |ags with| an argu|
|00000730| 6d 65 6e 74 20 6f 66 0a | 74 79 70 65 20 6c 6f 6e |ment of.|type lon|
|00000740| 67 2c 20 69 74 20 61 6c | 73 6f 20 72 65 74 75 72 |g, it al|so retur|
|00000750| 6e 73 20 61 20 6c 6f 6e | 67 2c 20 63 6f 72 72 65 |ns a lon|g, corre|
|00000760| 73 70 6f 6e 64 69 6e 67 | 20 74 6f 20 74 68 65 20 |sponding| to the |
|00000770| 73 74 61 74 65 20 6f 66 | 20 74 68 65 0a 66 6c 61 |state of| the.fla|
|00000780| 67 73 20 6a 75 73 74 20 | 62 65 66 6f 72 65 20 79 |gs just |before y|
|00000790| 6f 75 20 73 65 74 20 74 | 68 65 6d 2e 0a 0a 20 20 |ou set t|hem... |
|000007a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000007b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000007c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000007d0| 20 20 20 2d 5a 61 63 6b | 0a 0a 20 0a 20 20 20 20 | -Zack|.. . |
|000007e0| 20 20 0a 0a 0a | | ... | |
+--------+-------------------------+-------------------------+--------+--------+